Skip to content

docs: add AGENTS.md/CLAUDE.md agent guide, refresh README#6

Open
njbrake wants to merge 1 commit into
mainfrom
docs/agents-guide
Open

docs: add AGENTS.md/CLAUDE.md agent guide, refresh README#6
njbrake wants to merge 1 commit into
mainfrom
docs/agents-guide

Conversation

@njbrake

@njbrake njbrake commented Jun 8, 2026

Copy link
Copy Markdown
Member

Note: this PR description was drafted by Claude via back-and-forth with @njbrake. The reasoning and decisions are his; the prose is Claude's.

Summary

  • AGENTS.md (new): agent guide covering the SDK architecture (thin hand-written shell over
    the generated src/otari/_client core), the streaming/error-mapping seams, both auth modes,
    the endpoint-coverage drift gate, and the exact uv build/test/lint commands. CLAUDE.md
    is a symlink to it, matching the otari repo.
  • README: added the missing 409 BatchNotCompleteError row; corrected the stale "built on
    the official OpenAI Python SDK" claim (typed from the gateway's OpenAPI spec, no openai
    dependency); retitled the heading to Otari Python Client SDK; rebranded otari-gateway
    wording to otari, the open-source core that powers otari.ai.
  • Dropped the internal "Option C" codename from source docstrings/comments (comment-only).

No logic changes.

  • Trimmed the otari overview/marketing sections (About otari, the docker Quick Start, Managed Platform, Why otari) and replaced them with a one-line pointer to the main repo. The README now focuses on SDK install/auth/usage.

  • Added a "Writing style" rule to AGENTS.md (avoid em dashes and double-hyphen separators in prose) and scrubbed the existing em dashes from the README and AGENTS.md.

  • Normalized the README to the shared SDK layout (Quickstart, Installation, Authentication, Usage, Development, Documentation, Contributing, License) with the same set of usage examples in the same order across all four SDKs (Chat, Streaming, Responses, Messages, Embeddings, Listing models, Moderation, Reranking, Batch, Error handling), plus language-specific extras.

@njbrake njbrake force-pushed the docs/agents-guide branch 4 times, most recently from 9cfb1b6 to 795f87e Compare June 8, 2026 16:41
Add an AGENTS.md agent guide (CLAUDE.md symlinked to it, matching the otari
repo) covering the SDK architecture, both auth modes, the endpoint-coverage
drift gate, and the exact uv build/test/lint commands. README: add the 409
BatchNotCompleteError row, correct the stale 'built on the OpenAI Python SDK'
claim, retitle the heading to 'Otari Python Client SDK', and rebrand
otari-gateway wording to otari. Drop the internal 'Option C' codename from
source docstrings/comments.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@njbrake njbrake force-pushed the docs/agents-guide branch from 795f87e to 03bdc53 Compare June 8, 2026 16:59
@njbrake njbrake marked this pull request as ready for review June 8, 2026 17:03
@njbrake njbrake requested a review from tbille June 8, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant